<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
      <tr align="center" style="background-color:#F3F8F7">
        <td>&nbsp;</td>
        <td>ID</td>
        <td>标题</td>
        <td>状态</td>
        <td>发布者</td>
        <td>发布时间</td>
        <td>属性</td>
        <td>操作</td>
      </tr>
      <%foreach item=val from=$list%>
      <tr align="center" class="cbg">
        <td><input name="id[]" type="checkbox" value="<%$val.id%>" /></td>
        <td><%$val.id%></td>
        <td align="left">
        	<a href="index.php?m=system&a=preview&id=<%$val.id%>&classid=<%$val.classid%>&wid=<%$column.wid%>&action=page" style="color:#F90" target="_blank" title="预览"><img src="style/images/preview.jpg" width="16" height="16" border="0" /></a>
            <a href="<%$val.link%>" style="color:#F90" target="_blank" title="在浏览器中打开"><img src="style/images/browser.jpg" width="16" height="16" border="0" /></a>  
            <a href="http://www.baidu.com/s?wd=<%$val.title%>&ie=utf-8" title="用百度搜索" target="_blank"><img src="style/images/baidu.jpg" width="16" height="16" border="0" /></a>
            <a href="index.php?m=classified&a=edit&id=<%$val.id%>&wid=<%$column.wid%>" id="<%$val.id%>" class="article" ><%$val.title%></a> 
        </td>
       
        <td id="stat_<%$val.id%>">
        <%if $val.audit%>
        <a href="javascript:;" class="classifiedSet" style="color:green;" field="html" value="0" id="<%$val.id%>">已审核</a>
        <%else%>
        <a href="javascript:;" style="color:#CCC;" class="classifiedSet" field="html" value="1" id="<%$val.id%>">未审核</a><%/if%>
        </td>
        <td><%$val.writer%></td>
        <td align="center"><%$val.posttime|date_format:"%Y-%m-%d"%></td>
        <td>
          <%if !empty($val.flag)%><%assign var=flag value=","|join:$val.flag%><%else%><%assign var=flag value=""%><%/if%>
          <span><a href="#" style="<%if !empty($val.flag)&&in_array('h',$val.flag)%>color:green;<%else%>color:#CCC;<%/if%>" class="classifiedSet" field="h" id="<%$val.id%>" value="<%$flag%>">头条</a></span>
          <span><a href="#" style="<%if !empty($val.flag)&&in_array('c',$val.flag)%>color:green;<%else%>color:#CCC;<%/if%>" class="classifiedSet" field="c" id="<%$val.id%>" value="<%$flag%>">推荐</a></span>
          <span><a href="#" style="<%if !empty($val.flag)&&in_array('a',$val.flag)%>color:green;<%else%>color:#CCC;<%/if%>" class="classifiedSet" field="a" id="<%$val.id%>" value="<%$flag%>">特荐</a></span>
        </td>
        <td align="center"><a href="index.php?m=classified&a=edit&id=<%$val.id%>&wid=<%$column.wid%>" id="<%$val.id%>" style="color:#F90" class="editlink" target="_blank">编辑</a> <a href="index.php?m=classified&amp;a=delete&amp;id=<%$val.id%>&ajax=1" class="delete" style="color:red;">删除</a></td>
      </tr>
      <%/foreach%>
      </table>